import request from '@/utils/request'
export const login = (data) => {
  return request('/login', data, 'post')
}
export const captchaLogin = () => {
  return request('/captcha', { type: 'login' })
}

// 查询 用户列表
export const userList = (data) => {
  return request('/user/list', data)
}
// echarts
export const dataStatistics = () => {
  return request('/data/statistics', {}, 'post')
}
